/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package be.hogent.iii.project.guigameroom;

import javax.swing.JList;
import javax.swing.JPanel;

/**
 *
 * @author jef donders
 */
public class SpelersLijstPanel extends JPanel{

    SpelersLijstPanel(){
        
        
        
        String[] namen = {"jef", "tim", "josefien", "dieter"};
        JList lijst = new JList(namen);
        add(lijst);
        
        
        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        setLayout(layout);
        layout.setHorizontalGroup(layout.createSequentialGroup()
            .addComponent(lijst,200,200,200)
        );
        layout.setVerticalGroup(layout.createSequentialGroup()
            .addComponent(lijst,400,400,400)
        );
    }
    
}
